package com.zyju.simple.keepalive

import android.app.Application
import com.keepalive_kotlin.KeepAlive

/**
 * @author zyju
 * @date 2025/8/29 16:58
 */
class MyApplication : Application (){
    override fun onCreate() {
        super.onCreate()
        // 初始化保活库
        KeepAlive.init(this)
        // 启动保活服务
        KeepAlive.startKeepAliveService()
    }
}